package com.teach.sys.service.impl;

import java.util.List;
import java.util.Map;
import com.common.bean.PageVo;
import com.common.bean.QueryCondition;
import com.common.bean.Response;
import com.common.bean.PageEntity;

import com.teach.sys.model.po.SysImagePO;
import com.teach.sys.dao.SysImageMapper;
import com.teach.sys.service.SysImageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * <p>
 *  字典表 服务实现类
 * </p>
 * @version 1.0
 * @author hzz
 * @since 2021-05-13
 */
@Service
public class SysImageServiceImpl extends ServiceImpl<SysImageMapper, SysImagePO> implements SysImageService {

    public PageVo queryPage(QueryCondition params,QueryWrapper<SysImagePO> queryWrapper){
        IPage<SysImagePO> page = this.page(
            new PageEntity<SysImagePO>().getPage(params),queryWrapper);
        return new PageVo(page);
    }
}
